﻿using Admin.Application.Dto;
using Admin.Database.Enums;
using Admin.Database.Model;
using Framework.SqlSugar.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.Application.DynamicApi.System.Dict.Dto
{
	public class DictTypeInput : BaseStatusInput
	{
	}

	public class PageDictTypeInput : BasePageInput
	{
		/// <summary>
		/// 名称
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// 编码
		/// </summary>
		public string Code { get; set; }
	}

	public class AddDictTypeInput : SysDictType
	{

	}

	public class UpdateDictTypeInput : AddDictTypeInput
	{
	}

	public class DeleteDictTypeInput : BaseIdInput
	{
	}

	public class GetDataDictTypeInput
	{
		/// <summary>
		/// 编码
		/// </summary>
		[Required(ErrorMessage = "字典类型编码不能为空")]
		public string Code { get; set; }
	}
}
